<?php
class ContentAction extends CommonAction{
    public function article_list(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'文章列表','href'=>U('Content/articlelist'),'separator'=>'',),
		);
		$data['action'] = U('Content/articlelist?action=submit');
		$data['addurl'] = U('Content/articleadd');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
    }
	
	public function down_list(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'下载列表','href'=>U('Content/downlist'),'separator'=>'',),
		);
		$data['action'] = U('Content/downlist?action=submit');
		$data['addurl'] = U('Content/downadd');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
	}
	
	public function photo_list(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'图片列表','href'=>U('Content/photolist'),'separator'=>'',),
		);
		$data['action'] = U('Content/photolist?action=submit');
		$data['addurl'] = U('Content/photoadd');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
	}
    public function article_add(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'文章添加','href'=>U('Content/articleadd'),'separator'=>'',),
		);
		$data['action'] = U('Content/articleadd?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display('article_edit');
    }
	
	public function down_add(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'下载添加','href'=>U('Content/downadd'),'separator'=>'',),
		);
		$data['action'] = U('Content/downadd?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display('down_edit');
	}
	
	public function photo_add(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'图片添加','href'=>U('Content/photoadd'),'separator'=>'',),
		);
		$data['action'] = U('Content/photoadd?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display('photo_edit');
	}
    public function article_edit(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'文章修改','href'=>U('Content/articleedit'),'separator'=>'',),
		);
		$data['action'] = U('Content/articleedit?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
    }
	
	public function down_edit(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'下载列表','href'=>U('Content/downedit'),'separator'=>'',),
		);
		$data['action'] = U('Content/downedit?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
	}
	
	public function photo_edit(){
		$data['breadcrumbs'] = array(
		     array('text'=>'后台首页','href'=>'#','separator'=>'>>',),
		     array('text'=>'图片列表','href'=>U('Content/photoedit'),'separator'=>'',),
		);
		$data['action'] = U('Content/photoedit?action=submit');
		if(!empty($_GET['action']) && $_GET['action'] == 'submit'){
		}
		$this->assign('data',$data);
		$this->display();
	}

}
?>